// 使用fp.first获取列表的第一个元素

const fp = require('lodash/fp')
const { Maybe, Container } = require('./support')

let xs = Container.of(['do','ray','me','fa','so','la','ti','do'])

// 第一种
let ex2 = () => xs.map(fp.first)
console.log(ex2())

// 第二种
let ex21 =  fp.first
console.log(xs.map(ex21))

